Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/emphasise m2 m access to api #178

Merged
merged 5 commits into from
Sep 13, 2024
Merged

Conversation

clairekinde11
Copy link
Collaborator

@clairekinde11 clairekinde11 commented Sep 13, 2024

Update to a few topics to clarify that only M2M apps can access the Kinde Management API. Added some cross references and related topics as well.

Summary by CodeRabbit

  • Documentation
    • Clarified requirements for machine-to-machine (M2M) applications connecting to Kinde’s Management API.
    • Streamlined instructions for obtaining access tokens by consolidating prerequisites.
    • Enhanced connectivity to related topics by adding a new section with additional resources in the "About Kinde APIs" document.

Copy link
Contributor

coderabbitai bot commented Sep 13, 2024

Walkthrough

The changes across the documents clarify the requirements for machine-to-machine (M2M) applications connecting to Kinde’s Management API. Key modifications include emphasizing that only M2M applications can access the API, specifying that scopes must be defined, and streamlining introductory sections for clarity. Additionally, a new section linking related articles has been added to enhance contextual understanding.

Changes

Files Change Summary
src/content/docs/developer-tools/kinde-api/add-a-m2m-application-for-api-access.mdx
src/content/docs/developer-tools/kinde-api/get-access-token-for-connecting-securely-to-kindes-api.mdx
Updated to clarify that only M2M applications can connect to the API, with specific requirements for scopes and application details.
src/content/docs/get-started/apis-and-sdks/about-kinde-apis.mdx Added a relatedArticles section for better resource connectivity and revised access information to specify that only M2M applications can access the API.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant M2M Application
    participant Kinde API

    User->>M2M Application: Create M2M application
    M2M Application->>Kinde API: Request access with scopes
    Kinde API-->>M2M Application: Grant access
    M2M Application->>User: Provide access token
Loading

🐇 In the garden where changes bloom,
M2M applications find their room.
With scopes defined and links in sight,
Kinde's API shines so bright!
Hop along, let knowledge grow,
Together we’ll learn, together we’ll flow! 🌼

Tip

OpenAI O1 model for chat
  • We have deployed OpenAI's latest O1 model for chat.
  • OpenAI claims that this model has superior reasoning capabilities than their GPT-4o model.
  • Please share any feedback with us in the discussions post.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Deploying kinde-docs-previews with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1a0a14d
Status: ✅  Deploy successful!
Preview URL: https://fe222ac9.kinde-docs-previews.pages.dev
Branch Preview URL: https://fix-emphasise-m2m-access-to.kinde-docs-previews.pages.dev

View logs

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range and nitpick comments (1)
src/content/docs/developer-tools/kinde-api/add-a-m2m-application-for-api-access.mdx (1)

19-19: Approve the change and consider rephrasing for better style.

The change effectively emphasizes that only M2M applications can connect to the Kinde Management API, which aligns with the PR objective.

To improve the writing style, consider rephrasing the sentence to avoid using "get":

-Only machine to machine (M2M) applications can connect to [Kinde's Management API](https://kinde.com/api/docs/#kinde-management-api). This topic explains how to set up an M2M application, including managing the scopes that get requested.
+Only machine to machine (M2M) applications can connect to [Kinde's Management API](https://kinde.com/api/docs/#kinde-management-api). This topic explains how to set up an M2M application, including managing the scopes that are requested.
Tools
LanguageTool

[style] ~19-~19: The verb “get” can be informal. Consider replacing it with a form of “to be”.
Context: ...ion, including managing the scopes that get requested. ## About scopes and the Kinde Managem...

(GET_USED_ARE_USED)

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between ef4fb80 and 1a0a14d.

Files selected for processing (3)
  • src/content/docs/developer-tools/kinde-api/add-a-m2m-application-for-api-access.mdx (1 hunks)
  • src/content/docs/developer-tools/kinde-api/get-access-token-for-connecting-securely-to-kindes-api.mdx (1 hunks)
  • src/content/docs/get-started/apis-and-sdks/about-kinde-apis.mdx (2 hunks)
Additional context used
LanguageTool
src/content/docs/developer-tools/kinde-api/add-a-m2m-application-for-api-access.mdx

[style] ~19-~19: The verb “get” can be informal. Consider replacing it with a form of “to be”.
Context: ...ion, including managing the scopes that get requested. ## About scopes and the Kinde Managem...

(GET_USED_ARE_USED)


[uncategorized] ~23-~23: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...pes when you authorize a new application or you can add scopes to an existing appli...

(COMMA_COMPOUND_SENTENCE)

Additional comments not posted (5)
src/content/docs/get-started/apis-and-sdks/about-kinde-apis.mdx (2)

6-10: LGTM!

The addition of the relatedArticles field in the front matter is consistent with the PR objective to add cross-references and related topics. The article IDs seem to be valid UUIDs.


20-20: LGTM!

The content change clarifies that only M2M applications can access the Kinde Management API, which is consistent with the PR objective.

src/content/docs/developer-tools/kinde-api/add-a-m2m-application-for-api-access.mdx (1)

23-23: LGTM!

The change enhances the clarity and specificity of the instructions by reinforcing that scopes must be defined in all M2M applications accessing the Kinde Management API.

Tools
LanguageTool

[uncategorized] ~23-~23: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...pes when you authorize a new application or you can add scopes to an existing appli...

(COMMA_COMPOUND_SENTENCE)

src/content/docs/developer-tools/kinde-api/get-access-token-for-connecting-securely-to-kindes-api.mdx (2)

15-18: LGTM!

The changes effectively clarify the prerequisites for securely connecting to Kinde's API, emphasizing the need for a machine-to-machine application with the relevant API scopes and the availability of application details. This aligns well with the PR objectives and enhances the clarity of the documentation.


15-18: This code segment has already been reviewed and approved in the previous comment.

@coderabbitai coderabbitai bot mentioned this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants